Maximize array sum after K negations